package org.byqh.dqeai.entity.proxy;

import com.easy.query.core.expression.parser.core.available.TableAvailable;
import com.easy.query.core.proxy.AbstractProxyEntity;
import com.easy.query.core.proxy.SQLColumn;
import com.easy.query.core.proxy.SQLSelectAsExpression;
import com.easy.query.core.proxy.fetcher.AbstractFetcher;
import com.easy.query.core.proxy.core.EntitySQLContext;
import org.byqh.dqeai.entity.SysAsstApp;
import com.easy.query.core.proxy.columns.types.SQLStringTypeColumn;
import com.easy.query.core.proxy.columns.types.SQLShortTypeColumn;
import com.easy.query.core.proxy.columns.types.SQLLocalDateTimeTypeColumn;

/**
 * this file automatically generated by easy-query, don't modify it
 * 当前文件是easy-query自动生成的请不要随意修改
 * 如果出现属性冲突请使用@ProxyProperty进行重命名
 *
 * @author easy-query
 */
public class SysAsstAppProxy extends AbstractProxyEntity<SysAsstAppProxy, SysAsstApp> {

    private static final Class<SysAsstApp> entityClass = SysAsstApp.class;

    public static final SysAsstAppProxy TABLE = createTable().createEmpty();

    public static SysAsstAppProxy createTable() {
        return new SysAsstAppProxy();
    }

    public SysAsstAppProxy() {
    }

    /**
     * 分类ID
     * {@link SysAsstApp#getCategoryId}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> categoryId() {
        return getStringTypeColumn("categoryId");
    }

    /**
     * 模块ID
     * {@link SysAsstApp#getModuleId}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> moduleId() {
        return getStringTypeColumn("moduleId");
    }

    /**
     * 用户界面展示名称
     * {@link SysAsstApp#getModuleName}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> moduleName() {
        return getStringTypeColumn("moduleName");
    }

    /**
     * 父模块ID
     * {@link SysAsstApp#getParentModuleId}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> parentModuleId() {
        return getStringTypeColumn("parentModuleId");
    }

    /**
     * 1:为应用程序模块;2为网页模块
     * {@link SysAsstApp#getModuleType}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> moduleType() {
        return getStringTypeColumn("moduleType");
    }

    /**
     * 0 内嵌TAB页,1模态对话框,2独立窗体,3独立进程,4方法调用
     * {@link SysAsstApp#getModuleRunType}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> moduleRunType() {
        return getStringTypeColumn("moduleRunType");
    }

    /**
     * 0为不显示;1为显示,默认为1
     * {@link SysAsstApp#getModuleVisible}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> moduleVisible() {
        return getStringTypeColumn("moduleVisible");
    }

    /**
     * 应用程序路径
     * {@link SysAsstApp#getCsFilepath}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> csFilepath() {
        return getStringTypeColumn("csFilepath");
    }

    /**
     * BS模块调用网址
     * {@link SysAsstApp#getBsUrl}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> bsUrl() {
        return getStringTypeColumn("bsUrl");
    }

    /**
     * 0为IE内核;1为谷歌内核
     * {@link SysAsstApp#getBsBrowserKenel}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> bsBrowserKenel() {
        return getStringTypeColumn("bsBrowserKenel");
    }

    /**
     * 模块参数值
     * {@link SysAsstApp#getParmInfo}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> parmInfo() {
        return getStringTypeColumn("parmInfo");
    }

    /**
     * 模块序号
     * {@link SysAsstApp#getModuleSeq}
     */
    public SQLShortTypeColumn<SysAsstAppProxy> moduleSeq() {
        return getShortTypeColumn("moduleSeq");
    }

    /**
     * {@link SysAsstApp#getCreateDate}
     */
    public SQLLocalDateTimeTypeColumn<SysAsstAppProxy> createDate() {
        return getLocalDateTimeTypeColumn("createDate");
    }

    /**
     * {@link SysAsstApp#getUpdateDate}
     */
    public SQLLocalDateTimeTypeColumn<SysAsstAppProxy> updateDate() {
        return getLocalDateTimeTypeColumn("updateDate");
    }

    /**
     * {@link SysAsstApp#getRemark}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> remark() {
        return getStringTypeColumn("remark");
    }

    /**
     * 用户ID
     * {@link SysAsstApp#getUserId}
     */
    public SQLStringTypeColumn<SysAsstAppProxy> userId() {
        return getStringTypeColumn("userId");
    }

    @Override
    public Class<SysAsstApp> getEntityClass() {
        return entityClass;
    }

    /**
     * 数据库列的简单获取
     *
     * @return
     */
    public SysAsstAppProxyFetcher FETCHER = new SysAsstAppProxyFetcher(this, null, SQLSelectAsExpression.empty);

    public static class SysAsstAppProxyFetcher extends AbstractFetcher<SysAsstAppProxy, SysAsstApp, SysAsstAppProxyFetcher> {

        public SysAsstAppProxyFetcher(SysAsstAppProxy proxy, SysAsstAppProxyFetcher prev, SQLSelectAsExpression sqlSelectAsExpression) {
            super(proxy, prev, sqlSelectAsExpression);
        }

        /**
         * 分类ID
         * {@link SysAsstApp#getCategoryId}
         */
        public SysAsstAppProxyFetcher categoryId() {
            return add(getProxy().categoryId());
        }

        /**
         * 模块ID
         * {@link SysAsstApp#getModuleId}
         */
        public SysAsstAppProxyFetcher moduleId() {
            return add(getProxy().moduleId());
        }

        /**
         * 用户界面展示名称
         * {@link SysAsstApp#getModuleName}
         */
        public SysAsstAppProxyFetcher moduleName() {
            return add(getProxy().moduleName());
        }

        /**
         * 父模块ID
         * {@link SysAsstApp#getParentModuleId}
         */
        public SysAsstAppProxyFetcher parentModuleId() {
            return add(getProxy().parentModuleId());
        }

        /**
         * 1:为应用程序模块;2为网页模块
         * {@link SysAsstApp#getModuleType}
         */
        public SysAsstAppProxyFetcher moduleType() {
            return add(getProxy().moduleType());
        }

        /**
         * 0 内嵌TAB页,1模态对话框,2独立窗体,3独立进程,4方法调用
         * {@link SysAsstApp#getModuleRunType}
         */
        public SysAsstAppProxyFetcher moduleRunType() {
            return add(getProxy().moduleRunType());
        }

        /**
         * 0为不显示;1为显示,默认为1
         * {@link SysAsstApp#getModuleVisible}
         */
        public SysAsstAppProxyFetcher moduleVisible() {
            return add(getProxy().moduleVisible());
        }

        /**
         * 应用程序路径
         * {@link SysAsstApp#getCsFilepath}
         */
        public SysAsstAppProxyFetcher csFilepath() {
            return add(getProxy().csFilepath());
        }

        /**
         * BS模块调用网址
         * {@link SysAsstApp#getBsUrl}
         */
        public SysAsstAppProxyFetcher bsUrl() {
            return add(getProxy().bsUrl());
        }

        /**
         * 0为IE内核;1为谷歌内核
         * {@link SysAsstApp#getBsBrowserKenel}
         */
        public SysAsstAppProxyFetcher bsBrowserKenel() {
            return add(getProxy().bsBrowserKenel());
        }

        /**
         * 模块参数值
         * {@link SysAsstApp#getParmInfo}
         */
        public SysAsstAppProxyFetcher parmInfo() {
            return add(getProxy().parmInfo());
        }

        /**
         * 模块序号
         * {@link SysAsstApp#getModuleSeq}
         */
        public SysAsstAppProxyFetcher moduleSeq() {
            return add(getProxy().moduleSeq());
        }

        /**
         * {@link SysAsstApp#getCreateDate}
         */
        public SysAsstAppProxyFetcher createDate() {
            return add(getProxy().createDate());
        }

        /**
         * {@link SysAsstApp#getUpdateDate}
         */
        public SysAsstAppProxyFetcher updateDate() {
            return add(getProxy().updateDate());
        }

        /**
         * {@link SysAsstApp#getRemark}
         */
        public SysAsstAppProxyFetcher remark() {
            return add(getProxy().remark());
        }

        /**
         * 用户ID
         * {@link SysAsstApp#getUserId}
         */
        public SysAsstAppProxyFetcher userId() {
            return add(getProxy().userId());
        }

        @Override
        protected SysAsstAppProxyFetcher createFetcher(SysAsstAppProxy cp, AbstractFetcher<SysAsstAppProxy, SysAsstApp, SysAsstAppProxyFetcher> prev, SQLSelectAsExpression sqlSelectExpression) {
            return new SysAsstAppProxyFetcher(cp, this, sqlSelectExpression);
        }
    }
}
